﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="topic.aspx.cs" Inherits="WebSite.cn.topic" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>
<%@ Register Assembly="CustomList" Namespace="CustomList" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <center>
	<uc1:head ID="head_1" runat="server" />	
<div id="container">
   


    <div>
    <br />
      <br />
      <div style=" float:left; width:100%;">
        <table Width="98%" border="0" cellspacing="0" cellpadding="0" class="table_pro03">
          <tr>
            <td height="28" align="left" bgcolor="#FFFBF4"><%=content %></td>
          </tr>
        </table>
        <div class="pro">
        <cc1:CustomList ID="productsList" runat="server"  EmptyText="暂无该促销产品." OnPageIndexChanged="PageChanged" PageSize="30" RepeatColumns="5" CellPadding="0" CurrentPageIndex="1" CssClass="table_pro03" ForeColor="#333333" OnItemDataBound="DataList1_ItemDataBound">
           <ItemTemplate>
			    <p>
			    <a href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>>
			    <asp:Image ID="Image1" runat="server" ImageUrl=<%# DataBinder.Eval(Container.DataItem, "propic2") %> CssClass="img02" BorderWidth="1px"></asp:Image></a>
			    </p>
				<ul>
				   <li><asp:Label ID="price" runat="server" CssClass="text_red" Text=<%# "兑换价:" + String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %>></asp:Label></li>
				   <li><a href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>><%# DataBinder.Eval(Container.DataItem, "proname") %></a></li>
				</ul>
		   </ItemTemplate>
		  </cc1:CustomList>
	  </div>
      </div>
    </div>
	  <uc3:bottom ID="bottom_1" runat="server" />


   
</div>   
</center>
</body>
</html>
